import React,{Component} from "react"
import "./index.css"
import RightContainer from "../../../components/RightContainer"
import { Input,Table } from 'antd';
const { Search } = Input;
class list extends Component{
    state={
        columns:[
            {
              title: '门店名称',
              dataIndex: 'name',
              key: 'name',
              
            },
            {
              title: '金额',
              dataIndex: 'age',
              key: 'age',
            },
            {
              title: '提现类型',
              dataIndex: 'address',
              key: 'address',
            },
            {
                title: '收款人姓名',
                dataIndex: 'addy',
                key: 'addy',
            },
            {
                title: '提现账号',
                dataIndex: 'addif',
                key: 'addif',
            },
            {
                title: '提现时间',
                dataIndex: 'phone',
                key: 'phone',
            },
            {
              title: '状态',
              dataIndex: 'position',
              key: 'position',
          },
          ],
          data:[
            {
              key: '1',
              name: 'John',
              age: 32,
              address: 'New',
              addy:"sfsdff",
              addif:"收款机房不好",
              phone:"jgjggvh",
              position:"就黄果树",
            },
            {
              key: '2',
              name: 'John',
              age: 32,
              address: 'New',
              addy:"sfsdff",
              addif:"收款机房不好",
              phone:"jgjggvh",
              position:"就黄果树",
            },
            {
              key: '3',
              name: 'John',
              age: 32,
              address: 'New',
              addy:"sfsdff",
              addif:"收款机房不好",
              phone:"jgjggvh",
              position:"就黄果树",
            },
            {
              key: '4',
              name: 'John',
              age: 32,
              address: 'New',
              addy:"sfsdff",
              addif:"收款机房不好",
              phone:"jgjggvh",
              position:"就黄果树",
            },
          ]
        
    }
    render(){
        const {data,columns}=this.state
        return <RightContainer>
              <div >
            <Search placeholder="请输入名称" onSearch={this.onSearch} style={{ width: 200 }} />
            </div>
            <div>
            <Table columns={columns} dataSource={data} />
            </div>
        </RightContainer>
    }
}
export default list